<?php
/**
 * Created by JetBrains PhpStorm.
 * User: Olex.Sitx
 * Date: 23.03.11
 * Time: 14:00
 * To change this template use File | Settings | File Templates.
 */
 
class Data extends CActiveRecord
{
	public static function model($className=__CLASS__)
	{
		return parent::model($className);
	}

	public function getDbConnection(){
		return Yii::app()->db_ctypes;
	}

	public function tableName(){
		return 'data';
	}

}
